Microchip Technology /ATSAME51J19A /TCC0 /EVCTRL

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as EVCTRL

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (OFF)EVACT0 0 (OFF)EVACT1 0 (START)CNTSEL 0 (OVFEO)OVFEO 0 (TRGEO)TRGEO 0 (CNTEO)CNTEO 0 (TCINV0)TCINV0 0 (TCINV1)TCINV1 0 (TCEI0)TCEI0 0 (TCEI1)TCEI1 0 (MCEI0)MCEI0 0 (MCEI1)MCEI1 0 (MCEI2)MCEI2 0 (MCEI3)MCEI3 0 (MCEI4)MCEI4 0 (MCEI5)MCEI5 0 (MCEO0)MCEO0 0 (MCEO1)MCEO1 0 (MCEO2)MCEO2 0 (MCEO3)MCEO3 0 (MCEO4)MCEO4 0 (MCEO5)MCEO5

EVACT0=OFF, EVACT1=OFF, CNTSEL=START

Description

Event Control

Fields

EVACT0

Timer/counter Input Event0 Action

0 (OFF): Event action disabled

1 (RETRIGGER): Start, restart or re-trigger counter on event

2 (COUNTEV): Count on event

3 (START): Start counter on event

4 (INC): Increment counter on event

5 (COUNT): Count on active state of asynchronous event

6 (STAMP): Stamp capture

7 (FAULT): Non-recoverable fault

EVACT1

Timer/counter Input Event1 Action

0 (OFF): Event action disabled

1 (RETRIGGER): Re-trigger counter on event

2 (DIR): Direction control

3 (STOP): Stop counter on event

4 (DEC): Decrement counter on event

5 (PPW): Period capture value in CC0 register, pulse width capture value in CC1 register

6 (PWP): Period capture value in CC1 register, pulse width capture value in CC0 register

7 (FAULT): Non-recoverable fault

CNTSEL

Timer/counter Output Event Mode

0 (START): An interrupt/event is generated when a new counter cycle starts

1 (END): An interrupt/event is generated when a counter cycle ends

2 (BETWEEN): An interrupt/event is generated when a counter cycle ends, except for the first and last cycles

3 (BOUNDARY): An interrupt/event is generated when a new counter cycle starts or a counter cycle ends

OVFEO

Overflow/Underflow Output Event Enable

TRGEO

Retrigger Output Event Enable

CNTEO

Timer/counter Output Event Enable

TCINV0

Inverted Event 0 Input Enable

TCINV1

Inverted Event 1 Input Enable

TCEI0

Timer/counter Event 0 Input Enable

TCEI1

Timer/counter Event 1 Input Enable

MCEI0

Match or Capture Channel 0 Event Input Enable

MCEI1

Match or Capture Channel 1 Event Input Enable

MCEI2

Match or Capture Channel 2 Event Input Enable

MCEI3

Match or Capture Channel 3 Event Input Enable

MCEI4

Match or Capture Channel 4 Event Input Enable

MCEI5

Match or Capture Channel 5 Event Input Enable

MCEO0

Match or Capture Channel 0 Event Output Enable

MCEO1

Match or Capture Channel 1 Event Output Enable

MCEO2

Match or Capture Channel 2 Event Output Enable

MCEO3

Match or Capture Channel 3 Event Output Enable

MCEO4

Match or Capture Channel 4 Event Output Enable

MCEO5

Match or Capture Channel 5 Event Output Enable

Links

()